package com.jinsilu.freight.http.request;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

/**
 *    author : byd
 *    time   : 2022-04-25
 *    desc   : 开通白条申请
 */
public final class ApplyWhiteApi implements IRequestApi, IRequestType {

    @Override
    public String getApi() {
        return "api/waybill/applyWhite";
    }

    /** 运单号 */
    private String waybillNumber;

    public ApplyWhiteApi setWaybillNumber(String waybillNumber) {
        this.waybillNumber = waybillNumber;
        return this;
    }

    @Override
    public BodyType getType() {
        return BodyType.FORM;
    }

}